You are here: Understanding the Meridian object model > About the Document object > The Document object methods > ChangeDocumentType method

ChangeDocumentType method

Changes the document type of the current document object.

Syntax

ChangeDocumentType(DocType)
Parameters
Name Description

DocType

An object that represents the new document type

Remarks

For events to occur for this method, the ChangeDocTypeEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y(default).

Related concepts

About the Document object